package com.education.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.education.common.annotation.Excel;
import com.education.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 edu_course_subject_file
 * 
 * @author education
 * @date 2024-08-09
 */
public class EduCourseSubjectFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String title;

    /** 视频副标题 */
    @Excel(name = "视频副标题")
    private String subTitle;

    /** 视频地址 */
    @Excel(name = "文件地址")
    private String fileUrl;

    /** 视频内容 */
    @Excel(name = "视频内容")
    private String content;

    /** （0正常 1停用） */
    @Excel(name = "", readConverterExp = "0=正常,1=停用")
    private String status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectDeptId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long subjectChapterDeptId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long chapterId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSubTitle(String subTitle) 
    {
        this.subTitle = subTitle;
    }

    public String getSubTitle() 
    {
        return subTitle;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setSubjectDeptId(Long subjectDeptId) 
    {
        this.subjectDeptId = subjectDeptId;
    }

    public Long getSubjectDeptId() 
    {
        return subjectDeptId;
    }
    public void setSubjectChapterDeptId(Long subjectChapterDeptId) 
    {
        this.subjectChapterDeptId = subjectChapterDeptId;
    }

    public Long getSubjectChapterDeptId() 
    {
        return subjectChapterDeptId;
    }
    public void setChapterId(Long chapterId) 
    {
        this.chapterId = chapterId;
    }

    public Long getChapterId() 
    {
        return chapterId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("subTitle", getSubTitle())
            .append("fileUrl", getFileUrl())
            .append("content", getContent())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("subjectId", getSubjectId())
            .append("subjectDeptId", getSubjectDeptId())
            .append("subjectChapterDeptId", getSubjectChapterDeptId())
            .append("chapterId", getChapterId())
            .toString();
    }
}
